﻿using BCEntity.Common.Payment.Payment;
using System;
using System.Collections.Generic;

namespace BCData.Common.Payment.Payment
{
    /// <summary>
    /// 支付渠道
    /// </summary>
    public interface IPaymentChannelData
    {
        /// <summary>
        /// 获取支付渠道列表
        /// </summary>
        /// <returns></returns>
        IEnumerable<PaymentChannelEntity> GetPaymentChannels();
        /// <summary>
        /// 获取单个支付渠道
        /// </summary>
        /// <param name="paymentChannelId">支付渠道编码</param>
        /// <returns></returns>
        PaymentChannelEntity GetPaymentChannel(string paymentChannelId);
    }
}
